/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.hiddendanger.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(value = "整改通知书细则", description = "整改通知书细则实体类")
public class NoticeItem {

    @ApiModelProperty(value = "整改通知书id", name = "noticeId", required = true)
    private String noticeId;

    @ApiModelProperty(value = "隐患id", name = "hiddenDangerId", required = true)
    private String hiddenDangerId;

    @ApiModelProperty(value = "检查日期", name = "checkDate", required = true)
    @JsonFormat(pattern = "yyyy年MM月dd日", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy年MM月dd日")
    private Date checkDate;

    @ApiModelProperty(value = "存在问题", name = "description")
    private String description;

    @ApiModelProperty(value = "处理意见", name = "handlingOpinions")
    private String handlingOpinions;

    @ApiModelProperty(value = "检查地点", name = "checkLocation")
    private String checkLocation;

    @ApiModelProperty(value = "隐患照片", name = "hiddenDangerAttachment")
    private String hiddenDangerAttachment;

    @ApiModelProperty(value = "整改时限", name = "rectificationPeriod")
    private String rectificationPeriod;

    public String getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(String noticeId) {
        this.noticeId = noticeId;
    }

    public String getHiddenDangerId() {
        return hiddenDangerId;
    }

    public void setHiddenDangerId(String hiddenDangerId) {
        this.hiddenDangerId = hiddenDangerId;
    }

    public Date getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(Date checkDate) {
        this.checkDate = checkDate;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getHandlingOpinions() {
        return handlingOpinions;
    }

    public void setHandlingOpinions(String handlingOpinions) {
        this.handlingOpinions = handlingOpinions;
    }

    public String getRectificationPeriod() {
        return rectificationPeriod;
    }

    public void setRectificationPeriod(String rectificationPeriod) {
        this.rectificationPeriod = rectificationPeriod;
    }

    public String getCheckLocation() {
        return checkLocation;
    }

    public void setCheckLocation(String checkLocation) {
        this.checkLocation = checkLocation;
    }

    public String getHiddenDangerAttachment() {
        return hiddenDangerAttachment;
    }

    public void setHiddenDangerAttachment(String hiddenDangerAttachment) {
        this.hiddenDangerAttachment = hiddenDangerAttachment;
    }
}
